﻿using Org.BouncyCastle.Asn1.Mozilla;

namespace LS.Nc6.Web.Entry.ViewModel.UI
{
    /// <summary>
    /// 频道页面
    /// </summary>
    public class CmsChannelVm
    {

        public long Id { get; set; }
        /// <summary>
        /// 频道名称
        /// </summary>
        public string  ChanName{get;set;}

        /// <summary>
        /// 频道背景图
        /// </summary>
        public string ChanBackground { get;set;}

        /// <summary>
        /// 频道索引
        /// </summary>
        public string ChanIndex { get; set; }

        public int PageIndex { get; set; }

        /// <summary>
        /// 子频道名称
        /// </summary>
        public List<CmsChannelChildVm> ChanChild { get; set; }
    }
    /// <summary>
    /// 子频道
    /// </summary>
    public  class CmsChannelChildVm
    {
        public long Id { get; set; }

        public string ChanName { get; set; }

        public string ChanIndex { get; set; }
    }

    /// <summary>
    /// 公司简介
    /// </summary>
    public class CompanyIntrodVm
    {
        public string Title { get; set; }

        public string Content { get; set; }
    }

    public class CmsChannelListVm
    {
        public long Id { get; set; }
        public int PageIndx { get; set; }

        public int TotalRow { get; set; }

        public int PageSize { get; set; }

        public List<CmsContentVm> ContentList { get; set; }
    }
}
